package
{
	import flash.net.URLRequest;
	import flash.net.URLRequestMethod;
	import flash.net.URLVariables;
	import flash.net.navigateToURL;
	import flash.net.sendToURL;
	
	import root.TestRoot;
	
	public class SendReq extends TestRoot
	{
		public function SendReq()
		{
			super();
			
			var req:URLRequest = new URLRequest("http://127.0.0.1:8090");
			var variables:URLVariables = new URLVariables();
			variables.someText = "test some text";
			variables.someNum = "test some num";
			req.data = variables;
			req.method = URLRequestMethod.GET;
			//sendToURL(req);
			navigateToURL(req, "_parent");
		}
	}
}